package com.huadi.bili_hot.service;

import com.huadi.bili_hot.dao.mapper.HotInfoMapper;
import com.huadi.bili_hot.entity.HotInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class HotInfoServiceImpl implements HotInfoService {
    @Autowired
    HotInfoMapper hotInfoMapper;

    @Override
    public List<HotInfo> getHotInfo() {
        return hotInfoMapper.selectAll();
    }
}
